// const ONE_DAY = 1000 * 60 * 60 * 24

export function beforeToday (day) {
  const today = new Date()
  const gap = day - today
  return gap >= 0
}
